projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4993cde
)
gtk-demo: Fix an off-by-one error
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 6 Oct 2020 22:09:52 +0000
(18:09 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 7 Oct 2020 19:16:31 +0000
(15:16 -0400)
This was found by the asan build in our ci.
demos/gtk-demo/unicode-names.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/unicode-names.c
b/demos/gtk-demo/unicode-names.c
index 6c4f21924ab1da41aca63ef149238a3f6e69f09f..745e1b2db578ebcc9cd759ecd92008fd4e0c25f6 100644
(file)
--- a/
demos/gtk-demo/unicode-names.c
+++ b/
demos/gtk-demo/unicode-names.c
@@
-100,7
+100,7
@@
get_break_type_name (GUnicodeBreakType type)
const char *
get_combining_class_name (int cclass)
{
- const char *classes[25
5
] = { 0, };
+ const char *classes[25
6
] = { 0, };
classes[0] = "Not Reordered";
classes[1] = "Overlay";